export const liquid = world.querySelector('#冰药水004-1')!;

liquid.enableInteract = true;
liquid.interactRadius = 3;
liquid.onInteract(({ entity }) => {
    // 缩小玩家
    entity.player.scale = 0.5;
    // 10秒后恢复
    setTimeout(() => {
        entity.player.scale = 1;
    }, 10000);
});
